package com.huijinhui.wlmtsys.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * APP已发布文章内容表实体类
 */
@Data
@TableName("article_content")
public class WlmtsysArticleContent implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @Schema(title = "内容ID", description = "文章内容表的唯一标识")
    @TableField("id")
    private Long id;

    /**
     * 文章ID
     */
    @Schema(title = "文章ID", description = "关联的文章ID")
    @TableField("article_id")
    private Long articleId;

    /**
     * 文章内容
     */
    @Schema(title = "内容", description = "文章的详细内容")
    @TableField("content")
    private String content;

    // Lombok的@Data注解已经包含了getter和setter方法
}